package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Arrays;

@FeignClient("gulimall-coupon-service") // 声明希望被远程调用的服务的名称
public interface CouponFeignClient {

    // 发送 http://gulimall-coupon-service/coupon/coupon/member/list
    @RequestMapping("/coupon/coupon/member/list")
    public R membercourpons();

}
